package com.liuqi.business.service;

import com.liuqi.base.BaseService;
import com.liuqi.business.model.CurrencyRechargeModel;
import com.liuqi.business.model.CurrencyRechargeModelDto;

import java.util.List;

public interface CurrencyRechargeService extends BaseService<CurrencyRechargeModel,CurrencyRechargeModelDto>{

    CurrencyRechargeModelDto getByCurrencyAndProtocol(Long currencyId, Integer protocol);
    /**
     * 获取所有的充值信息
     * @return
     */
    List<CurrencyRechargeModelDto> getRechargeList();

    /**
     * 获取开启的充值信息
     * @return
     */
    List<CurrencyRechargeModelDto> getOnRechargeList();

}
